package com.uwlaser.service.dto;


import com.uwlaser.domain.BaseParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;

/**
 * 替换临时编码请求参数
 */
@Data
public class ReplaceTempProductSnParam extends BaseParam {

    @ApiModelProperty("产品临时序列号")
    @NotBlank(message = "产品临时序列号【tempProductSn】不能为空")
    private String tempProductSn;

    @ApiModelProperty("产品序列号")
    @NotBlank(message = "产品序列号【productSn】不能为空")
    @Valid
    private String productSn;

}
